/*    */ package com.iris.egrant.model.grantSetting;
/*    */ 
/*    */ import java.io.Serializable;
/*    */ import javax.persistence.CascadeType;
/*    */ import javax.persistence.Column;
/*    */ import javax.persistence.Entity;
/*    */ import javax.persistence.Id;
/*    */ import javax.persistence.JoinColumn;
/*    */ import javax.persistence.OneToOne;
/*    */ import javax.persistence.Table;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ @Entity
/*    */ @Table(name = "GRANT_NOTES")
/*    */ public class GrantNote
/*    */   implements Serializable
/*    */ {
/*    */   private static final long serialVersionUID = 2097810619403803503L;
/*    */   @Id
/*    */   @Column(name = "GRANT_CODE")
/*    */   private Long grantCode;
/*    */   @Column(name = "TITLE")
/*    */   private String title;
/*    */   @Column(name = "NOTES")
/*    */   private String notes;
/*    */   @OneToOne(cascade = {CascadeType.ALL})
/*    */   @JoinColumn(name = "GRANT_CODE", insertable = false, updatable = false)
/*    */   private GrantSetting grantSetting;
/*    */   
/*    */   public Long getGrantCode() {
/* 40 */     return this.grantCode;
/*    */   }
/*    */   
/*    */   public void setGrantCode(Long grantCode) {
/* 44 */     this.grantCode = grantCode;
/*    */   }
/*    */   
/*    */   public String getTitle() {
/* 48 */     return this.title;
/*    */   }
/*    */   
/*    */   public void setTitle(String title) {
/* 52 */     this.title = title;
/*    */   }
/*    */   
/*    */   public String getNotes() {
/* 56 */     return this.notes;
/*    */   }
/*    */   
/*    */   public void setNotes(String notes) {
/* 60 */     this.notes = notes;
/*    */   }
/*    */   
/*    */   public GrantSetting getGrantSetting() {
/* 64 */     return this.grantSetting;
/*    */   }
/*    */   
/*    */   public void setGrantSetting(GrantSetting grantSetting) {
/* 68 */     this.grantSetting = grantSetting;
/*    */   }
/*    */ }


/* Location:              D:\文件kjt\WEB-INF\lib\egrant-code-2.2.20240205.1659.jar!\com\iris\egrant\model\grantSetting\GrantNote.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */